projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4898e
)
Fix reading of day in wintec_tes.
author
robertl
<robertl>
Sun, 21 Feb 2010 14:53:48 +0000
(14:53 +0000)
committer
robertl
<robertl>
Sun, 21 Feb 2010 14:53:48 +0000
(14:53 +0000)
wintec_tes.c
patch
|
blob
|
history
diff --git
a/wintec_tes.c
b/wintec_tes.c
index b234c9e4bf46890f0ff6e25ca102ebed14443aa3..15c8be55224c58004a73f78296e38b6cb5cff62b 100644
(file)
--- a/
wintec_tes.c
+++ b/
wintec_tes.c
@@
-46,7
+46,7
@@
wintec_date_to_time(gbuint32 w)
tm.tm_sec = ((w & 0x0000003f));
tm.tm_min = ((w & 0x00000fc0) >> 6);
tm.tm_hour = ((w & 0x0001f000) >> 12);
- tm.tm_mday = ((w & 0x003
7
0000) >> 17);
+ tm.tm_mday = ((w & 0x003
f
0000) >> 17);
tm.tm_mon = ((w & 0x03c00000) >> 22) - 1;
tm.tm_year = ((w & 0xfc000000) >> 26) + 100;